TEC\Tickets\Commerce\Order_Modifiers\Modifiers\Modifier_Abstract A

Total Complexity 52
Dependencies 20
Dependents 0
Total lines 682
Lines of code 217
Logical lines of code 100
Comment lines 387
Methods 28
Properties 5

Methods 28

Method Rating Maintainability Complexity Lines of code
validate_data()
A
43 12 51
display_amount_field()
S
62 3 12
randomize_string_case()
S
62 3 11
delete_modifier()
S
58 2 17
get_amount_for_subtype()
S
65 3 10
handle_meta_data()
S
60 2 13
__call()
S
60 2 12
is_slug_unique()
S
68 2 8
maybe_clear_relationships()
S
66 2 9
generate_unique_slug()
S
64 2 9
get_modifier_display_name()
S
79 2 3
map_form_data_to_model()
S
61 1 11
get_singular_name()
S
100 1 0
get_plural_name()
S
100 1 0
get_order_modifier_meta_by_key()
S
79 1 3
map_context_to_template()
S
100 1 0
__construct()
S
73 1 5
add_relationship()
S
67 1 8
delete_relationship_by_post()
S
69 1 7
delete_relationship_by_modifier()
S
81 1 3
get_modifier_type()
S
82 1 3
get_page_slug()
S
81 1 3
get_modifiers()
S
79 1 3
get_modifier_by_applied_to()
S
79 1 3
get_modifier_by_id()
S
80 1 3
update_modifier()
S
72 1 5
insert_modifier()
S
72 1 5
handle_relationship_update()
S
100 1 0